
using System;
namespace JSC.Portal.Entities
{
	public partial class Role : DescriptiveEntity
	{
        public bool CanEdit
        {
            get { return (RoleEnum != Roles.Anonymous); }
        }

        public Roles RoleEnum
        {
            get { return (Roles) Enum.Parse(typeof(Roles), Name); }
        }
	}
}
